package com.hgts.service;

import com.hgts.common.R;
import com.hgts.pojo.Likes;
import com.hgts.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hgts.pojo.dto.UserDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 凡哥哥
 * @since 2023-05-09
 */
public interface IUserService extends IService<User> {

    R<User> login(User user);

    R<String> register(User user);

    R<String> sendCode(String phone);

    void exit(String token);

    List<Likes> likes(Long userId);
}
